host-interaction/process

get current process file path

rule:
  meta:
    name: get current process file path
    namespace: host-interaction/process
    authors:
      - william.ballenthin@mandiant.com
    scopes:
      static: basic block
      dynamic: call
  features:
    - and:
      - os: linux
      - api: readlink
      - string: "/proc/self/exe"

last edited: 2026-06-19 08:12:44